package com.xnyzc.lhy.didi.entity.billGroup;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.util.Date;

@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="OaSysBillRuleGroup对象", description="供应商分成")
public class OaSysBillRuleGroup {

    @ApiModelProperty(value = "主键")
    @TableId(value="group_id", type = IdType.INPUT)
    private long groupId;

    @ApiModelProperty(value = "组名称")
    private String groupName;

    @ApiModelProperty(value = "城市adcode")
    private long cityId;

    @ApiModelProperty(value = "同officeId，公司编码")
    private long companyId;

    @ApiModelProperty(value = "分成比例")
    private int drawRatio;

    @ApiModelProperty(value = "")
    private String createUser;

    @ApiModelProperty(value = "")
    private String updateUser;

    @ApiModelProperty(value = "")
    private Date createTime;

    @ApiModelProperty(value = "")
    private Date updateTime;

    @ApiModelProperty(value = "")
    private int deleted;


    public static final  String COMPANY_ID= "company_id";

    public static final  String CITY_ID= "city_id";

}
